﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.Approval
{
    public class UpdateApprovalCommand:IRequest<ApiResult<int>>
    {
        public int Id {  get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int Bid { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string TypeId { get; set; }
        public int CountHours { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime LeaveStatrTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime LeaveEndTime { get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime BaodaoTime { get; set; }

        /// <summary>
        /// 请假原因
        /// </summary>
        public string QingYuan { get; set; }

        /// <summary>
        /// 部门领导
        /// </summary>
        public string? BuFuName { get; set; }
        /// <summary>
        /// 审批状态
        /// true 已审批
        /// false待审批
        /// </summary>
        public bool ApprovalState { get; set; }
    }
}
